import os.path
from tornado.options import define


def load_configs():
    base_dir = os.path.dirname(__file__)
    static_dir = os.path.join(base_dir, 'static')

    define('debug', True)
    define('port', 7000)
    define('static_dir', static_dir)
    define('es_host', '127.0.0.1')
    define('es_port', '9300')
